package com.zjb.demo.common.exception;

import com.zjb.demo.common.constant.ExceptionCode;

/**
 * @author 庄佳彬
 * @since 2023/12/27 16:40
 */
public class ServiceException extends AppException{

    public ServiceException(String message) {
        super(ExceptionCode.INNER_ERROR,message);
    }
    public ServiceException(String message,Throwable e) {
        super(ExceptionCode.INNER_ERROR,message,e);
    }
}
